<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html 
        {
            perspective: 800px;
        }
        img
        {
            width: 270px;
            height: 270px;

            vertical-align: top;
        }
        .box 
        {
            position: relative;
            margin: 100px auto;
            width: 270px;
            height: 270px;
            animation-name: text;
            animation-timing-function: linear;
            animation-duration: 20s;
            transform-style: preserve-3d;
            animation-iteration-count: infinite;
        }
        .box1
        {
            opacity: 0.7;
            position: absolute;
            transform: rotateX(90deg) translateZ(135px);
        }
        .box2
        {
            opacity: 0.7;
            position: absolute;
            transform: rotateX(-90deg) translateZ(135px);
        }
        .box3
        {
            opacity: 0.7;
            position: absolute;
            transform: rotateY(90deg) translateZ(135px);
        }
        .box4
        {
            opacity: 0.7;
            position: absolute;
            transform: rotateY(-90deg) translateZ(135px);
        }
        .box5
        {
            opacity: 0.7;
            position: absolute;
            transform: rotateY(0deg) translateZ(135px);
        }
        .box6
        {
            opacity: 0.7;
            position: absolute;
            transform: rotateY(180deg) translateZ(135px);
        }
        @keyframes text {
            form{transform: rotateX(0deg) rotateZ(0deg);}
            to{transform: rotateX(360deg) rotateZ(360deg);} 
        }
    </style>
</head>
<body>
    <div class="box">
    <div class="box1">
        <img src="./动图1.gif">
    </div>
    <div class="box2">
        <img src="./动图2.gif">
    </div>
    <div class="box3">
        <img src="./动图3.gif">
    </div>
    <div class="box4">
        <img src="./动图4.gif">
    </div>
    <div class="box5">
        <img src="./动图5.gif">
    </div>
    <div class="box6">
        <img src="./动图6.gif">
    </div>
    </div>
</body>
</html>